package com.sqx.modules.goodsType.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.common.utils.Result;
import com.sqx.modules.goodsType.entity.GoodsDegree;

/**
* @author Admin
* @description 针对表【goods_degree(商品新旧程度表)】的数据库操作Service
* @createDate 2024-10-14 09:39:25
*/
public interface GoodsDegreeService extends IService<GoodsDegree> {

    Result addGoodsDegree(GoodsDegree goodsDegree);

    Result delGoodsDegree(Long id);

    IPage<GoodsDegree> getGoodsDegreeList(Integer page, Integer limit, GoodsDegree goodsDegree);

    Result getGoodsDegreeById(Long id);
}
